// 导出员工的路由规则

export default {
    path: '/employees',
    name: 'employee',
    component: () => import('@/layout'),
    redirect: '/employees/index',
    children: [{
        path: 'index',
        component: () => import('@/views/employees'),
        meta: { title: '员工管理', icon: 'user' }
    }, {
        path: 'detail/:id',
        component: () => import('@/views/employees/detail'),
        hidden: true
    }, {
        path: 'print/:id',
        component: () => import('@/views/employees/print'),
        hidden: true
    }, {
        path: 'import',
        component: () => import('@/views/employees/import'),
        hidden: true
    }]
}